package edu.hcmus.sow.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import edu.hcmus.sow.domain.UserProfile;

/**
 * DAO to manage UserProfile entities.
 * 
 */
public interface UserProfileDAO extends GenericDAO<UserProfile, Integer> {
   public List<UserProfile> findByName(Integer clientID, String name) throws DataAccessException;

   public UserProfile getByUserID(Integer userID) throws DataAccessException;

   public List<UserProfile> findByCriteria(Integer clientID, String firstName, String lastName, String username,
         Integer groupID) throws DataAccessException;
}